﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyChuyenXe
{
    public partial class FormMain : Form
    {
        public FormMain()
        {
            InitializeComponent();
        }

        private void linkLabelDangNhap_LinkClicked_1(object sender, LinkLabelLinkClickedEventArgs e)
        {
   this.panelEx1.Controls.Clear();
            UserControl uc = new ucDanNhap();
            this.panelEx1.Controls.Add(uc);
        }

        private void linkLabelNhanVienQuanLy_LinkClicked_1(object sender, LinkLabelLinkClickedEventArgs e)
        {

            this.panelEx1.Controls.Clear();
            UserControl uc = new ucQuanLyNhanVien();
            this.panelEx1.Controls.Add(uc);
        }

        private void linkLabelQuanLyXe_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.panelEx1.Controls.Clear();
            UserControl uc = new ucQuanLyXe();
            this.panelEx1.Controls.Add(uc);
        }

        private void linkLabelQuanTriHeThong_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.panelEx1.Controls.Clear();
            UserControl uc = new ucQuanTriHeThong();
            this.panelEx1.Controls.Add(uc);
        }

        private void linkLabelQuanlydaily_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.panelEx1.Controls.Clear();
            UserControl uc = new ucQuanLyDaiLy();
            this.panelEx1.Controls.Add(uc);
        }

        private void linkLabelQuanLyChuyenXe_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.panelEx1.Controls.Clear();
            UserControl uc = new ucQuanLyChuyenXe();
            this.panelEx1.Controls.Add(uc);
        }
    }
}
